package com.mobile.java_spring_boot.entity;

import lombok.Data;

@Data
public class Student {
    private int id;
    private String name;
    private int age;
    private String gender;
    private String idCard;
    private String address;

    public Student(int id, String name, int age, String gender, String idCard, String address) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.gender = gender;
        this.idCard = idCard;
        this.address = address;

    }
    public Student(){
    }
    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", gender='" + gender + '\'' +
                ", idCard='" + idCard + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}